#!/bin/sh
function dP_usage() {
  echo "DracoPKG"
  echo "using ${FULLVERSION}"
  echo 
  echo "Usage: `basename $0` <command> [option]"
  echo
  echo " <install>   [package]         =>  Install package"
  echo " <options>   [package]         =>  Show install options"
  echo " <upgrade>   [package]         =>  Upgrade package"
  echo " <replace>   [package]         =>  Replace package"
  echo " <remove>    [package]         =>  Remove package"
  echo
  echo " <info>      [package]         =>  Package information"
  echo " <search>    [package]         =>  Search for package"
  echo
  echo " <audit>     [update]          =>  Update audit lists"
  echo "             [packages]        =>  Audit third-party packages"
  echo "             [system]          =>  Audit system packages"
  echo
  echo " <update>    [pkgsrc]          =>  Update pkgsrc source tree"
  echo "             [packages]        =>  Update third-party packages"
  echo "             [system]          =>  Update system packages"
  echo
  #echo " <overlay>   [pkgsrc-2007Q4]   =>  Apply pkgsrc-2007Q4 overlay" 
  #echo "             [pkgsrc-2008Q1]   =>  Apply pkgsrc-2008Q1 overlay"
  #echo "             [pkgsrc-2008Q2]   =>  Apply pkgsrc-2008Q2 overlay"
  #echo
  echo " <switch>    [branch]          =>  Switch pkgsrc branch"
  echo "             [current]         =>  Switch to pkgsrc current"
  echo
  echo " <sysinst>   [package]         =>  Install system package"
  echo " <sysre>     [package]         =>  Reinstall system package"
  echo " <sysrm>     [package]         =>  Remove system package"
  #echo " <sysbuild>  [package]         =>  Build system package"
  echo
  echo " <service>   [start]           =>  Stop third-party services"
  echo "             [stop]            =>  Start third-party services"
  echo "             [restart]         =>  Restart third-party services"
  echo
  echo " <sound>     [start]           =>  Start sound system"
  echo "             [stop]            =>  Stop sound system"
  echo "             [restart]         =>  Restart sound system"
  echo "             [rebuild]         =>  Rebuild sound drivers"
  echo
  echo " <suspend>                     =>  Suspend your computer (experimental)"
  echo
}
